<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style>
			body{
				width: 809px;
				margin: 10px auto;
			}
			#guanbi{
				width: 60px;
				height: 30px;
				background-color: red;
				border-radius:10px ;
				color:white;
				text-align: center;
				line-height: 30px;
				float: right;
				margin-top: 6px;
				cursor:pointer;
			}
			.clearfix{
				display:table;
				content: "";
				clear:both;
			}
			#shoucan{
				width: 809px;
				height: 414px;
				background: url(shoppingBg.jpg) no-repeat;
				position: relative;
				font-size: 14px;
				color: #666;
			}
			#d1{
				position: absolute;
				top:110px;
				right: 30px;
				text-align: center;
				cursor:pointer;
			}
			#d2{
				position: absolute;
				top:220px;
				right: 30px;
				text-align: center;
				cursor:pointer;
			}
			#d3{
				position: absolute;
				top:360px;
				right: 20px;
				width: 70px;
				height: 36px;
				background-color: red;
				color:white;
				line-height: 36px;
				text-align: center;
				cursor:pointer;
			}
		</style>
	</head>
	<body>
		<div>
			<img src="dd_logo.jpg"/>
			<div id="guanbi" onclick="closeWin()">
				关闭
			</div>
		</div>
		<div id="shoucan">
			<div id="d1">
				<div onclick="collection()">移入收藏</div>
				<div onclick="del()">删除</div>
			</div>
			<div id="d2">
				<div onclick="collection()">移入收藏</div>
				<div onclick="del()">删除</div>
			</div>
			<div id="d3"  onclick="accounts()">结算</div>
		</div>
		<script>
			function closeWin(){
				window.close();
			}
			function collection(){
				var flag=confirm("移入收藏后，将不在购物车显示，是否继续操作?");
				if(flag==true){
					alert("移入收藏成功!");
				}
			}
			function del(){
				var flag=confirm("您确定要删除商品吗?");
				if(flag){
					alert("删除成功!");
				}
			}
			function accounts(){
				var flag=confirm("您本次购买的商品信息如下：\n\n商品名称：白岩松：白说、岛上书店；\n商品数量：2件；\n商品总计：46.00；\n运费：0元；\n\n请确认以上信息是否有误！！！");
   				if(flag){
   					alert("您的订单已提交");
   				}
			}
		</script>
	</body>
</html>
